package com.hzlj.position.dbsync.liaoning;

import com.fz.common.auth.annotation.EnableAuthJwt;
import com.fz.common.dict.annotation.EnableDict;
import com.fz.common.kafka.annotation.EnableKafka;
import com.fz.common.logs.annotation.EnableLogs;
import com.fz.common.redis.annotation.EnableRedis;
import com.fz.common.spring.SpringConfigImport;
import com.hzlj.sqjz.config.common.constant.SqjzImport;
import com.hzlj.sqjz.config.common.dto.constants.Constant;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableAsync
@EnableRedis
@EnableAuthJwt
@EnableKafka
@EnableDict
@EnableScheduling
@EnableLogs(serverName= Constant.SERVER_NAME)
@SpringBootApplication
@Import({SpringConfigImport.class, SqjzImport.class})
@ComponentScan("com.hzlj.position")
public class LiaoNingSyncApplication {

    public static void main(String[] args) {
        SpringApplication.run(LiaoNingSyncApplication.class, args);
    }

}
